﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DisplayScore.aspx.cs" Inherits="Web.DisplayScore" %>
<%@ Register TagPrefix="uc1" TagName="TopMenu" Src="TopMenu.ascx" %>
<%@ Register TagPrefix="uc1" TagName="Floor" Src="Floor.ascx" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>查看成绩 | 海淀区学校素质评测管理平台</title>
    <link href="css/style.css" rel="stylesheet" type="text/css" />
    <link href="js/boxy/stylesheets/boxy.css" rel="stylesheet" type="text/css" />
    <script src="js/jquery-1.3.2.min.js" type="text/javascript"></script>
    <script src="js/boxy/javascripts/jquery.boxy.js" type="text/javascript"></script>
    <script src="js/module.js"  type="text/javascript"></script>
</head>
<body>
    <uc1:TopMenu id='menu1' runat='server'></uc1:TopMenu>
    <form id="form1" runat="server">
    <div id="main">
        <div id='block'>
        <div id='blocktitle'><h3>查询导航：<a href="DisplayScore.aspx?examid=<%=examid%>">海淀区</a><asp:Label ID="NavSelect" runat="server" Text=""></asp:Label></h3><em>[<a href="AdminExamRoom.aspx">考试管理</a>]</em></div>
        <div id='blockcontent'>
            <asp:Label ID="NavLabel" runat="server" Text="暂无下级信息"></asp:Label>
        </div>
        
        <div id='blocktitle'><h3>查询信息</h3></div>
        <div id="blockcontent">
        
        <asp:ListView ID="StudentScoreList" runat="server">
        <LayoutTemplate>
        <table cellpadding="5" cellspacing="1" border="0" width="100%" style="background-color:#DFDFDF" id="userlist">
        <tr style="background-color:#eee">
        <th width="10%">学号</th>
        <th width="10%">姓名</th>
        <th width="10%">学区</th>
        <th width="10%">学校</th>
        <th width="10%">年级</th>
        <th width="10%">班级</th>
        <th width="10%">分值</th>
        <th width="10%">得分</th>
        <th width="20%">管理</th>
        </tr>
        <asp:Label ID="itemPlaceholder" runat="server" Text="Label"></asp:Label></table></LayoutTemplate>
        <ItemTemplate>
            <tr align="center"  style="background-color:#fff">
            <td><%# Eval("Number") %></td>
            <td><%# Eval("Name")%></td>
            <td><%# GetAreaName(Eval("AreaId").ToString())%></td>
            <td><%# GetSchoolName(Eval("SchoolId").ToString())%></td>
            <td><%# GetGradeName(Eval("GradeId").ToString())%></td>
            <td><%# GetClassName(Eval("ClassId").ToString())%></td>
            <td><%# Eval("ExamPaperScore")%></td>
            <td><%# Eval("CountScore")%></td>
            <td>
            <a href="PostStudentScore.aspx?editid=<%# Eval("Id")%>">修改</a> | 
            <a href='javascript:ShowConfirm("PostStudentScore.aspx?examid=<%# Eval("ExamRoomId") %>&delid=<%# Eval("ID")%>","本操作不可逆，请谨慎操作",150,50)'>删除</a> | 
            <a target="_blank" href="ChartScoreMain.aspx?examroomid=<%# Eval("ExamRoomId")%>&studentid=<%# Eval("StudentId") %>">评价报告</a>
            <a target="_blank" href="ChartScorePrint.aspx?examroomid=<%# Eval("ExamRoomId")%>&studentid=<%# Eval("StudentId") %>">打印报告</a>
            </td>
            </tr>
        </ItemTemplate>
        </asp:ListView>
        </div>
        <div id="blockfloor"><asp:Label ID="PageLabel" runat="server" Text=""></asp:Label></div>
        </div>
    </div>
    </form>
    <uc1:Floor id='Floor1' runat='server'></uc1:Floor>
</body>
</html>
